package com.hjm.project.ActActivationReturn.ActActivationReturn.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 激活返现对象 act_activation_return
 * 
 * @author ActActivationReturn
 * @date 2020-11-29
 */
public class ActActivationReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 活动id */
    @Excel(name = "活动id")
    private Long actId;

    /** 终端型号id */
    @Excel(name = "终端型号id")
    private Long terminalId;

    /** 激活类型（0 押金 1免押金） */
    @Excel(name = "激活类型", readConverterExp = "0=,押=金,1=免押金")
    private Long type;

    /** 终端服务费 */
    @Excel(name = "终端服务费")
    private Long terminalSfee;

    /** 返现金额 */
    @Excel(name = "返现金额")
    private Long returnAmount;

    /** 返现周期 0 日反 1 月返 */
    @Excel(name = "返现周期 0 日反 1 月返")
    private Long returnCycle;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setActId(Long actId)
    {
        this.actId = actId;
    }

    public Long getActId()
    {
        return actId;
    }
    public void setTerminalId(Long terminalId)
    {
        this.terminalId = terminalId;
    }

    public Long getTerminalId()
    {
        return terminalId;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setTerminalSfee(Long terminalSfee)
    {
        this.terminalSfee = terminalSfee;
    }

    public Long getTerminalSfee()
    {
        return terminalSfee;
    }
    public void setReturnAmount(Long returnAmount)
    {
        this.returnAmount = returnAmount;
    }

    public Long getReturnAmount()
    {
        return returnAmount;
    }
    public void setReturnCycle(Long returnCycle)
    {
        this.returnCycle = returnCycle;
    }

    public Long getReturnCycle()
    {
        return returnCycle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actId", getActId())
            .append("terminalId", getTerminalId())
            .append("type", getType())
            .append("terminalSfee", getTerminalSfee())
            .append("returnAmount", getReturnAmount())
            .append("returnCycle", getReturnCycle())
            .toString();
    }
}
